package com.rtu.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.rtu.domain.WaterStation;
import com.rtu.dto.QueryStationDto;
import com.rtu.dto.QueryStationRainReportDto;
import com.rtu.dto.RainWaterDto;
import com.rtu.dto.RainWaterReportDto;
import com.rtu.dto.WaterStationResponse;

@Repository
public interface ILzWaterStationDao {

    List<WaterStationResponse> query(QueryStationDto dto);

    Integer count();
    Integer countWaterlist(QueryStationRainReportDto dto);
    List<RainWaterDto> queryWaterlist(QueryStationRainReportDto dto);
    List<RainWaterDto> queryCurrentWater(QueryStationRainReportDto dto);
    List<RainWaterReportDto> queryWaterReport(QueryStationRainReportDto dto);

    int delWaterStationById(Integer stationId);

    WaterStation queryById(Integer stationId);
    
    int updateStation(WaterStation station);
    
    int insertStation(WaterStation station);
    
    List<WaterStation> queryAllWaterStation();
}
